<div class="from-markdown">
	<div class="d-flex justify-content-between align-items-center">
		<h1 class="m-0">{{ title }}</h1>

	</div>
	{{ content }}
</div>
<div class="wiki-footer">
	<div class="my-4 wiki-revision-meta">
		<ul class="user-contributions">

			{%- if last_revision -%}
			{{ last_revision.raised_by_username or last_revision.owner }} edited {{ frappe.utils.pretty_date(last_revision.creation) }}
			{%- if number_of_revisions > 0 %}
			&middot;
			<li><a href="/{{ path }}/revisions">{{ number_of_revisions }} Revisions</a>&nbsp;</li>
			{%- endif -%}
			{%- endif -%}
			<li><a href="/{{ path }}/edit">Edit Page</a>&nbsp;</li>
			<li><a href="/{{ path }}/new">New Page</a>&nbsp;</li>
		</ul>
	</div>

	<div class = "forward-back">
		<a href="/left" class="btn left">Left</a>
		<a href="/right" class="btn pull-right right">Right</a>
	</div>

</div>

<script type="text/javascript" src="/assets/frappe/js/lib/jquery/jquery.min.js"></script>
{{ include_script('wiki.bundle.js') }}

<script>
	new RenderWiki();

</script>

{%- if script -%}
<script>{{ script }}</script>
{%- endif -%}
